<template>
  <div>
    <button @click="son3_z()">点击传值给父组件</button>
  </div>
</template>

<script>
export default {
    props: {
      father3_z: {
        type: Function,
        default: null
      }
    },
    methods: {
      son3_z() {
        if (this.father3_z) {
          this.father3_z();
        }
      }
    }
}
</script>

<style>

</style>